package PolymorphismBlogDemo;

public class Animal1 {
    String type;
}
class Dog extends Animal1{
    String type;
}
class Run1 {
    public static void main(String[] args) {
        Animal1 animal1 = new Dog();
    }
}